#include "protocol.h"
#include "table_contents.h"
//切换目录
int switch_tab_con(int nefd){
     int ret;
     //read(nefd,&ret,sizeof(ret));
     recv(nefd,&ret,sizeof(ret),0);
     if(!ret){
         printf("切换失败\n");
     }
     /* else{ */
     /*     printf("切换成功\n"); */

     /* } */
     return 0;
}
int display_current_directory(int netfd){

    return 0;
    
}




/* int main(){ */
/*     int pipefd[2]; */
/*     int ret=0; */
/*     pipe(pipefd); */
/*     write(pipefd[1],&ret,sizeof(int)); */
/*     switch_tab_con(pipefd[0]); */
/*     printf("ret=%d\n",ret); */
/* } */

